chore: update copyright year to 2026, bump version to 7.5, automate release and copyright updates - #135
Conversation
…elease and copyright updates Co-authored-by: wforney <79032+wforney@users.noreply.github.com>
…s in update-copyright workflow Co-authored-by: wforney <79032+wforney@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates project metadata (copyright year and version prefix) and adjusts GitHub Actions workflows to automate releases on merges to main and automate annual copyright updates via a scheduled PR.
Changes:
- Updated copyright year to 2026 in
README.mdandDirectory.Build.props. - Bumped the
ReleasebuildVersionprefix from7.4to7.5inDirectory.Build.props. - Added a scheduled workflow to open an annual copyright update PR, and enabled release workflow runs on
pushtomainwhile upgradingactions/checkouttov4.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Updates the displayed copyright year in the License section. |
| Directory.Build.props | Updates package metadata copyright year and bumps the Release Version prefix to 7.5. |
| .github/workflows/update-copyright.yml | Adds a scheduled + manual workflow to update copyright years and open a PR. |
| .github/workflows/release.yml | Triggers releases on pushes to main and upgrades actions/checkout to v4. |
Suppressed comments (1)
.github/workflows/release.yml:36
- Same concern in the release job: without fetching full history/tags, the tag/changelog calculation can be incomplete or incorrect. Configure checkout to fetch full history.
- uses: actions/checkout@v4
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
SummarySummary
CoverageSharedCode.Core - 27.3%
SharedCode.Core.Tests - 98.1%
SharedCode.Data - 8.3%
SharedCode.Data.Tests - 100%
|
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Suppressed comments (2)
.github/workflows/release.yml:39
- The
semantic-releasejob usesgithub-tag-actionto find the latest tag and compute the next version. Withoutfetch-depth: 0on checkout, tags/history may be missing in the runner, leading to incorrect versioning or failures.
- uses: actions/checkout@v4
.github/workflows/update-copyright.yml:51
peter-evans/create-pull-requestdoes not create labels automatically; the configuredlabels: automatedwill fail/not apply because theautomatedlabel does not exist in this repository.
This pull request was created by the `update-copyright` workflow.
labels: automated
|
@copilot I see this warning in the build: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, marocchino/sticky-pull-request-comment@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ -- |
- actions/checkout: v3/v4 → v6 - actions/setup-dotnet: v4 → v6 - actions/upload-artifact: v4/v4.6.1 → v5 - actions/download-artifact: v4.1.8 → v5 - marocchino/sticky-pull-request-comment: v2 → v3 All actions now natively target Node.js 24, eliminating the deprecation warnings. Co-authored-by: wforney <79032+wforney@users.noreply.github.com>
... Fixed in the latest commit. All workflow actions have been upgraded to Node.js 24-compatible versions across all workflow files:
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.
Suppressed comments (2)
.github/workflows/release.yml:25
- PR description says
actions/checkout@v3 → @v4, but this workflow pinsactions/checkout@v6(and also upgradesactions/setup-dotnetto@v6and artifact actions to@v5). Please either update the PR description to reflect the actual action upgrades, or adjust the workflow pins to match the stated@v4plan so reviewers know what is being changed.
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
.github/workflows/dotnet.yml:22
- PR description calls out only a checkout upgrade to
@v4, but this workflow updatesactions/checkoutto@v6,actions/setup-dotnetto@v6,marocchino/sticky-pull-request-commentto@v3, andactions/upload-artifactto@v5. Please keep the PR description (and/or title) in sync with these CI dependency upgrades so the change scope is clear.
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
Addresses stale copyright year, manual version bumping, and the lack of automated release triggering.
Copyright year
Directory.Build.propsandREADME.md:2025→2026Version bump
Directory.Build.props: hardcoded major.minor7.4→7.5Release automation (
release.yml)pushtrigger onmainso every merge produces a release; previously required manualworkflow_dispatchactions/checkout@v3→@v4mathieudutour/github-tag-actionalready in place (conventional commits drivefix:→patch,feat:→minor,BREAKING CHANGE→major)Annual copyright workflow (new:
update-copyright.yml)cron: '0 0 1 1 *'(Jan 1 UTC) and onworkflow_dispatchCopyright © <year>in both files using[System.IO.File]::WriteAllText(preserves trailing newlines)chore/update-copyright-year-<YYYY>) to avoid conflicts with prior years' open PRs